package com.ostrich.module_more.themes

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_more.MoreRepository
import com.ostrich.module_more.themes.entity.ThemesDataEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/11/2 09:45
 * @Description : ThemesDataViewModel
 */
class ThemesDataViewModel:BaseViewModel() {
    private val moreRepository: MoreRepository by lazy{
        MoreRepository()
    }
    //tab数据
    fun data( id:Int): LiveData<BaseResponse<MutableList<ThemesDataEntity>>> {
        return moreRepository.data(id)
    }
}